﻿@model xraiding.ViewModels.AvailableTimeSlotViewModel
<table>
    <thead>
        <tr>
            <td>
                @Html.Label(string.Format("TimeAvailability[{0}].SelectedDay", Model.Index), "Select Day")
            </td>
            <td>
                @Html.Label(string.Format("TimeAvailability[{0}].SelectedStartTime", Model.Index), "Start Time")
            </td>
            <td>
                @Html.Label(string.Format("TimeAvailability[{0}].SelectedEndTime", Model.Index), "End Time")
            </td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                @Html.DropDownList(string.Format("TimeAvailability[{0}].SelectedDay", Model.Index), Model.Days)
            </td>
            <td>
                @Html.DropDownList(string.Format("TimeAvailability[{0}].SelectedStartTime", Model.Index), Model.Hours)
            </td>
            <td>
                @Html.DropDownList(string.Format("TimeAvailability[{0}].SelectedEndTime", Model.Index), Model.Hours)
            </td>
        </tr>
    </tbody>
</table>    
